package com.yunshipei.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class VPNInfo implements Serializable {

    @SerializedName("vpnType")
    private String vpnType;
    @SerializedName("vpnPort")
    private int vpnPort;
    @SerializedName("vpnCert")
    private String vpnCert;
    @SerializedName("vpnHost")
    private String vpnAddress;
    @SerializedName("hosts")
    private List<String> hosts = new ArrayList<>();
    @SerializedName("ssids")
    private List<String> innerNetSSIDs = new ArrayList<>();
    @SerializedName("loginName")
    private String userName;
    @SerializedName("loginPassword")
    private String password;

    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public VPNInfo() {
    }

    public String getVpnType() {
        return vpnType;
    }

    public int getVpnPort() {
        return vpnPort;
    }

    public String getVpnCert() {
        return vpnCert;
    }

    public String getVpnAddress() {
        return vpnAddress;
    }

    public void setVpnType(String vpnType) {
        this.vpnType = vpnType;
    }

    public void setVpnPort(int vpnPort) {
        this.vpnPort = vpnPort;
    }

    public void setVpnCert(String vpnCert) {
        this.vpnCert = vpnCert;
    }

    public void setVpnAddress(String vpnAddress) {
        this.vpnAddress = vpnAddress;
    }

    public void setHosts(List<String> hosts) {
        this.hosts = hosts;
    }

    public List<String> getHosts() {
        return hosts;
    }

    public List<String> getInnerNetSSIDs() {
        return innerNetSSIDs;
    }

    public void setInnerNetSSIDs(List<String> innerNetSSIDs) {
        this.innerNetSSIDs = innerNetSSIDs;
    }

    private boolean isOpen = false;

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }
}
